package com.myapp.utils;

import android.os.Build;

public class BrandUtils {
    public static String getBrand() {
        return Build.MANUFACTURER;
    }

    public static boolean isMI() {
        return getBrand().toLowerCase().equals("xiaomi");
    }

    public static boolean isOnePlus() {
        return getBrand().toLowerCase().equals("onePlus");
    }

    public static boolean isHTC() {
        return getBrand().toLowerCase().equals("htc");
    }

    public static boolean isHW() {
        return getBrand().toLowerCase().equals("honor") || getBrand().toLowerCase().equals("huawei");
    }

    public static boolean isCZ() {
        return getBrand().toLowerCase().equals("smartisan");
    }

    public static boolean isMZ() {
        return getBrand().toLowerCase().equals("meizu");
    }

    public static boolean isSS() {
        return getBrand().toLowerCase().equals("samsung");
    }

    public static boolean isVIVO() {
        return getBrand().toLowerCase().equals("vivo");
    }

    public static boolean isOPPO() {
        return getBrand().toLowerCase().equals("oppo");
    }

    public static boolean isSony() {
        return getBrand().toLowerCase().equals("sony");
    }

    public static boolean isJL() {
        return getBrand().toLowerCase().equals("gionee");
    }

    public static boolean isLenovo() {
        return getBrand().toLowerCase().equals("lenovo") || getBrand().toLowerCase().equals("zuk");
    }

    public static boolean isCoolPad() {
        return getBrand().toLowerCase().equals("coolpad");
    }

    public static boolean isNuiBia() {
        return getBrand().toLowerCase().equals("nubia");
    }

    public static boolean isNokia() {
        return getBrand().toLowerCase().equals("nokia");
    }

    public static boolean isLeTv() {
        return getBrand().toLowerCase().equals("letv");
    }
}
